<?php

namespace App\Http\Models;

use Illuminate\Database\Eloquent\Model;

class Comment extends Model
{
	protected $table = 'comments';
//	设置无黑名单字段
	protected $guarded = ['id'];

	public function user (  )
	{
		return $this->belongsTo('App\Http\Models\User','user_id', 'id');
	}
}
